package com.yaoandw.storage;

import java.io.Serializable;

public class SimpleCrawlUrl  implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -5427123500778684613L;
	public SimpleCrawlUrl(){}
	public SimpleCrawlUrl(String oriUrl,int layer){
		this.oriUrl = oriUrl;
		this.layer = layer;
	}
	private String oriUrl;// 原始URL的值，主机部分是域名  
	private int layer; //爬取的层次，从种子开始，依次为第0层，第1层...  
	public String getOriUrl() {
		return oriUrl;
	}
	public void setOriUrl(String oriUrl) {
		this.oriUrl = oriUrl;
	}
	public int getLayer() {
		return layer;
	}
	public void setLayer(int layer) {
		this.layer = layer;
	}
}
